package com.indexingsystem.boss.entity;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class AppInstitutionRelations implements Serializable {

	/**
     * 
     */
	private static final long	serialVersionUID	= 4172768656703704606L;

	private String				relationsId;

	private String				appName;

	private String				appId;

	private String				institutionId;

	private String				institutionUrl;

	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date				createDate;

	private String				parentInstitutionId;

	public String getRelationsId() {
		return relationsId;
	}

	public void setRelationsId(String relationsId) {
		this.relationsId = relationsId;
	}

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getInstitutionId() {
		return institutionId;
	}

	public void setInstitutionId(String institutionId) {
		this.institutionId = institutionId;
	}

	public String getInstitutionUrl() {
		return institutionUrl;
	}

	public void setInstitutionUrl(String institutionUrl) {
		this.institutionUrl = institutionUrl;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getParentInstitutionId() {
		return parentInstitutionId;
	}

	public void setParentInstitutionId(String parentInstitutionId) {
		this.parentInstitutionId = parentInstitutionId;
	}

	public AppInstitutionRelations() {
		super();
	}

	public AppInstitutionRelations(String relationsId, String appName, String appId, String institutionId, String institutionUrl, Date createDate,
			String parentInstitutionId) {
		super();
		this.relationsId = relationsId;
		this.appName = appName;
		this.appId = appId;
		this.institutionId = institutionId;
		this.institutionUrl = institutionUrl;
		this.createDate = createDate;
		this.parentInstitutionId = parentInstitutionId;
	}

	@Override
	public String toString() {
		return "AppInstitutionRelations [relationsId=" + relationsId + ", appName=" + appName + ", appId=" + appId + ", institutionId="
				+ institutionId + ", institutionUrl=" + institutionUrl + ", createDate=" + createDate + ", parentInstitutionId="
				+ parentInstitutionId + "]";
	}
}